import os
import sys
import pygame
from pygame.locals import *

def run():
    pygame.init()

    screen = pygame.display.set_mode((800,800))

    image = pygame.image.load("images/raindrop.png")

    rect = image.get_rect()
    rect.x = 100
    rect.y = 100

    while True:

        for event in pygame.event.get():
            if event.type == KEYDOWN:
                if event.key == pygame.quit():
                    sys.exit()
                elif event.key == pygame.K_q and event.key == pygame.K_COMMA:
                    sys.exit()

        screen.fill((230,230,230))

        rect.y += 1

        screen.blit(image,rect)

        pygame.display.flip()

run()
